Select = function(selector){
    if(selector.indexOf("#") == 0)
    {
        return document.getElementById(selector.substr(1));
    }
    else if(selector.indexOf(".") == 0)
    {
        return document.getElementsByClassName(selector.substr(1));
    }
    else
    {
        return document.getElementById(selector.substr(1));
    }
};
Select.ClearPrefix = function(selector)
{
    if(selector.indexOf("#") == 0 || selector.indexOf(".") == 0)
    {
        return selector.substr(1);
    }
    return selector;
};